ExamPlay Dark Logo
تسجيل الدخول

Computer Science for IGCSE & O level - Data Representation (Section 4 - No. 12)

What happens when a number is left-shifted in an 8-bit register and the MSB is a 1?
The MSB is duplicated.
The number is doubled.
A negative number becomes positive.
The value might be incorrect due to overflow.

توضيح

Shifting 1 to the left, could result in an overflow and change the meaning of the number, especially in signed integers.

تعليقات (0)

تسجيل الدخول للتعليق
إعلان
BrainBehindX Inc Logo
©2026; مدعوم من BrainBehindX Inc